package data;

import java.util.Date;

public class RCDevice {
	private String mName;
	private Date	mDate;
	private boolean mIsAlert;
	private boolean mIsOn;
	private int mDeviceIndex;
	
	public RCDevice(int deviceIndex) {
		mDeviceIndex = deviceIndex;
	}
	/**
	 * @return the mName
	 */
	public String getName() {
		return mName;
	}
	/**
	 * @param mName the mName to set
	 */
	public void setName(String mName) {
		this.mName = mName;
	}
	/**
	 * @return the mDate
	 */
	public Date getDate() {
		return mDate;
	}
	/**
	 * @param mDate the mDate to set
	 */
	public void setDate(Date mDate) {
		
		this.mDate = mDate;
	}
	
	/**
	 * @return the isAlert
	 */
	public boolean isAlert() {
		return mIsAlert;
	}
	
	/**
	 * @param isAlert the isAlert to set
	 */
	public void setAlert(boolean isAlert) {
		this.mIsAlert = isAlert;
	}
	
	/**
	 * @return the isAlert
	 */
	public boolean isOn() {
		return mIsOn;
	}
	
	/**
	 * @param isAlert the isAlert to set
	 */
	public void setIsOn(boolean isOn) {
		this.mIsOn = isOn;
	}
	
	/**
	 * @return the mDeviceIndex
	 */
	public int getDeviceIndex() {
		return mDeviceIndex;
	}
	
	/**
	 * @return the mDeviceIndex
	 */
	public void setDeviceIndex(int index) {
		mDeviceIndex = index;
	}
}
